package com.probox.common.entity.mapper.customer;

import com.probox.common.entity.domain.customer.CustomerPrivilege;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.probox.customer.api.domain.LevelAndPrivilege;

import java.util.List;

/**
 * 客户权益Mapper接口
 *
 * @author zsy
 * @date 2021-05-27
 */
public interface CustomerPrivilegeMapper extends BaseMapper<CustomerPrivilege> {

    List<CustomerPrivilege> getLevelAndPrivilegeRelation();

    List<LevelAndPrivilege> getLevelAndPrivilege(Long levelId);
}
